Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make S3 private storage ignore problematic AWS_S3_CUSTOM_DOMAIN setting #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmurty
Copy link
Contributor

@jmurty jmurty commented Feb 28, 2020

Ensure the private storage class always ignores the optional Boto
setting AWS_S3_CUSTOM_DOMAIN.

Without this hack, when that setting is applied it affects all
storage classes and causes them to generate URLs to S3 objects with
the given domain and without any request signing, producing invalid
URLs for private objects.

See related commit for RFDS in amongst the long issue #193:
https://github.com/ixc/rfds/commit/a14b0748

Ensure the private storage class always ignores the optional Boto
setting `AWS_S3_CUSTOM_DOMAIN`.

Without this hack, when that setting is applied it affects all
storage classes and causes them to generate URLs to S3 objects with
the given domain and *without* any request signing, producing invalid
URLs for private objects.

See related commit for RFDS in amongst the long issue #193:
https://github.com/ixc/rfds/commit/a14b0748
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants